package com.huaxin.hxmodulesystem.models;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 电工负责的用户关系实体类
 * 表：electrician_organization_family
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("electrician_organization_family")
public class ElectricianOrganizationFamily extends BaseModel {

    /**
     * 电工ID
     */
    @TableField(value = "electrician_id")
    private String electricianId;

    /**
     * 家庭ID（可为空）
     */
    @TableField(value = "family_id")
    private String familyId;
    
    /**
     * 组织ID
     */
    @TableField(value = "org_id")
    private String orgId;
    // 注意：
    // orgId 已在 BaseModel 中定义，无需重复声明
    // created_at, updated_at, is_deleted, deleted_at, deleted_by, id, auto_id 等均继承自 BaseModel
}